package com.accenture.fd.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.accenture.fd.dao.ClassListDao;
import com.accenture.fd.entity.SrcType;
import com.accenture.fd.service.GetSrcTypeService;

@Service
public class GetSrcTypeServiceImpl implements GetSrcTypeService {

	@Autowired
	private ClassListDao classListDao;

	@Override
	public List<SrcType> getSrcType(String keyword) {
		return classListDao.findByKeyWord(keyword);
	}
}
